/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-9-28 上午10:24 Created by dwzhang
 */
package com.jade.bss.weixin.api.card.protocol;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 卡券定义。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-9-28 上午10:24
 */
public abstract class Card
        implements Serializable
{
    @JsonProperty ("card_type")
    private String cardType;

    public String getCardType()
    {
        return cardType;
    }

    protected void setCardType(String cardType)
    {
        this.cardType = cardType;
    }

    public abstract <T extends CardInfo> T getInfo();
}
